#!/usr/bin/ruby
require "src/installer"

argv = ARGV.join("")
force = argv.include?("f")
download_dev = argv.include?("d")

i = Installer.new
i.install_latest_idea(force)
i.install_latest_idea_dev(force) if download_dev